package work;

public class Police {
    public String name;
    public Police(){}
    public Police(String name){
        this.name=name;
    }
    public void fine(Reason reason,Driver driver,Car car,Money money){
        System.out.println(this.name+"警官"+"因为"+driver.name+reason.b+"罚了他"+"驾驶的"+car.name+money.a+"元");

    }

}
